// Infrastructure/Options/FileStorageOptions.cs
namespace UniversalAdmin.Infrastructure.Options;

public class FileStorageOptions
{
  public const string Section = "FileStorage";
  public string RootPath { get; init; } = "uploads";
  public long MaxBytes { get; init; } = 10 * 1024 * 1024; // 10 MB
  public IReadOnlySet<string> AllowedExtensions { get; init; } =
      new HashSet<string>(StringComparer.OrdinalIgnoreCase)
      { ".jpg",".jpeg",".png",".gif",".pdf",".doc",".docx",".xls",".xlsx",".zip" };
}